#include "header.h"

terrain::terrain() //default constructor, makes blank black space.
{
  color = Color(black, darkgray);
  walkable = false;
  shape = ' ';
  explored = false;
}

terrain::terrain(ColorName spaceColor, bool w, char s) //specific value constructor
{
  setSpace(spaceColor, w, s);
}

void terrain::setSpace(ColorName spaceColor, bool w, char s) //Sets a space, exactly the same as the specific value constructor.
{
  color = spaceColor;
  walkable = w;
  shape = s;
}